"use strict";

const {
  RuntimeGlobals,
  RuntimeModule,
  RuntimePlugin,
} = require("@rspack/core");

class ExpRuntimePlugin extends RuntimePlugin {
  static PLUGIN_NAME = "ExpRuntimePlugin";

  /**
   * @public
   * @returns {string}
   */
  generate() {
    return `
      console.log("ExpRuntimePlugin");
    `;
  }
}

class ExpRuntimeModulePlugin extends RuntimeModule {
  static PLUGIN_NAME = "ExpRuntimePlugin";

  /**
   * @public
   * @returns {string}
   */
  generate() {
    return `
      console.log("ExpRuntimePlugin");
    `;
  }
}

module.exports = { ExpRuntimeModulePlugin, ExpRuntimePlugin };
